//
//  SLMenuLabel.h
//  MenuViewController
//
//  Created by superlian on 16/8/11.
//  Copyright © 2016年 superlian. All rights reserved.
//

#import <UIKit/UIKit.h>

//menu菜单控制器类型
typedef NS_ENUM(NSUInteger, SLMenuItemType) {
    kSLMenuItemTypeDefault = 0, //系统默认的
    kSLMenuItemTypeCustom = 1,  //自定义的
};
//
typedef NS_ENUM(NSUInteger, SLGestureType) {
    kSLGestureTypeLongGesture,  //长按 手势触发
    kSLGestureTypeTapGestture,  //轻拍 手势触发
};
typedef void(^CustomItemBlock)(NSString *title);

@interface SLMenuLabel : UILabel


@property (nonatomic, assign) SLMenuItemType menuItemType;  //default = kSLMenuItemTypeDefault;

@property (nonatomic, assign) SLGestureType gestureType;   //default = kSLGestureTypeLongGesture

@property (nonatomic, strong) NSArray *menuArray;

@property (nonatomic, copy) CustomItemBlock custemBlock;

-(void)getMenuItemWithBlock:(CustomItemBlock)customBlock;

@end
